/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.psi.controller;

import com.psi.bean.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 *
 * @author chopin
 */
@Controller
public class UserController {
    @RequestMapping(value = "/user_info.do")
    public ModelAndView addUserView(User user){
        ModelAndView mv = new ModelAndView("");
        System.out.println("email = "+user.getEmail());
        return mv;
    } 
}
